<?php
namespace app\index\controller;

use think\Controller;
use think\Db;
use think\Request;

class Index extends Controller
{
    public function index()
    {


//        $id = Request::instance()->post('');
//        $id = Request::instance()->get('');
//        $id = Request::instance()->isAjax('');
//            $data = input();
//        $mysql = Db::execute();
//        $mysql = Db::query();
//            $mysql = Db::table('name')->save();

//        return view('Index/showlist');
//        return $this -> fetch('showlist');
        //return $this -> fetch('Index/showlist');
        return $this->fetch('Index/index');
    }
    public function  welcome()
    {
        return $this->fetch('Index/welcome');
    }
}
